package com.soft.zosagent.pojo;


import com.soft.zosagent.common.ACTION;
import com.soft.zosagent.common.OsType;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 
 * @author huisong
 *
 */
public class Request implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public ACTION getAction() {
		return action;
	}

	public void setAction(ACTION action) {
		this.action = action;
	}

	/**
	 * 定义了请求操作类型
	 */
	ACTION action;

	/**
	 * 定义请求的client的系统类型
	 */
	OsType osType;


	private String jobName;
	private String jobId;

	//请求的数据区

	private String uniqueId;

	private BaseFileInfo fileInfo;

	public BaseFileInfo getFileInfo() {
		return fileInfo;
	}

	public void setFileInfo(BaseFileInfo fileInfo) {
		this.fileInfo = fileInfo;
	}

	//当请求类型是sendjob时，将作业文件内容放入到此文件中。而且文件类型已经是对应的类型。
	public List<String> jobJclList = new ArrayList<>();

	public String getUniqueId() {
		return uniqueId;
	}

	public void setUniqueId(String uniqueId) {
		this.uniqueId = uniqueId;
	}

	public List<String> getJobJclList() {
		return jobJclList;
	}

	public void setJobJclList(List<String> jobJclList) {
		this.jobJclList = jobJclList;
	}

	/**
	 * 用户名密码
	 */
	private String userName;
	private String userPwd;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPwd() {
		return userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public OsType getOsType() {
		return osType;
	}

	public void setOsType(OsType osType) {
		this.osType = osType;
	}

	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getJobId() {
		return jobId;
	}

	public void setJobId(String jobId) {
		this.jobId = jobId;
	}
}
